package cn.hospital.dao;

import cn.hospital.entity.QqueryConditions;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface QqueryConditionsMapper {
    /**
     * 添加查询条件
     * @param record
     * @return
     */
    Integer insert(QqueryConditions record);

    /**
     * 删除方法，根据查询信息id，删除对应查询条件
     *
     * @param applicationInformationId
     * @return
     */
    Integer deleteByApplicationInformationId(String applicationInformationId);

    /**
     * 根据页面id，查询条件信息
     *
     * @param applicationInformationId
     * @return
     */
    List<QqueryConditions> selectByApplicationInformationId(String applicationInformationId);
}